import axios from './index'

export function getLists(pageNo, pageSize) {
  return axios({
    methods: 'get',
    url: `/home/page/${pageNo}/${pageSize}`
  })
}

export function getDetail(data) {
  return axios({
    method: 'get',
    url: `/detail`,
    params: data
  })
}